package com.ponhu.ea2.goodsCenter.provider.biz;

import com.ponhu.ea2.common.basic.model.PagedResult;
import com.ponhu.ea2.query.PickInventoryQuery;
import com.ponhu.ea2.vo.PickInventoryDetailVo;
import com.ponhu.ea2.vo.PickInventoryStatisticsVo;
import com.ponhu.ea2.vo.PickInventoryVo;

import java.io.IOException;
import java.util.List;

/**
 * @author Wang
 * @date 2022/3/24 3:13 下午
 */
public interface ESPickInventoryService {
    /**
     * 选品列表结果查询(ES)
     * @param query
     * @return
     */
    PagedResult<PickInventoryVo> getPickInventoryListFromES(PickInventoryQuery query) throws IOException;

    /**
     * 选品列表汇总结果查询(ES)
     * @param query
     * @return
     */
    PickInventoryStatisticsVo getPickInventoryStatisticsInfoFromES(PickInventoryQuery query);

    /**
     * 根据条件查询导出的选品详细数据（限制3000）
     * @param pickInventoryQuery
     * @return
     */
    List<PickInventoryDetailVo> exportPickInventoryDataList(PickInventoryQuery pickInventoryQuery);
}
